import request from '@/utils/request'

// 查询雇员审批列表
export function listEmployeeLog(query) {
  return request({
    url: '/business/employeeApproval/list',
    method: 'get',
    params: query
  })
}

// 查询雇员审批详细
export function getEmployeeLog(id) {
  return request({
    url: '/business/employeeApproval/' + id,
    method: 'get'
  })
}

// 雇员审批
export function auditEmployeeLog(data) {
  return request({
    url: '/business/employeeApproval/approval',
    method: 'get',
    params: data
  })
}

